package src.zhuzi.spring.ioc.base;

public class Test {
	public static void main(String[] args) {
		Weapon w = SimpleFactory.getWeapon();
		Knight k = new Knight("老朱",w);
		k.fight();
	}
}